package com.senno.service;

import com.baomidou.mybatisplus.plugins.Page;
import com.baomidou.mybatisplus.service.IService;
import com.senno.entity.UserInfo;

import java.util.List;

public interface UserInfoService extends IService<UserInfo> {

    UserInfo selectByUserName(String username);

    Page<UserInfo> getUserList(int pageNo);

    void addUser(UserInfo user);
}
